* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #EEF3FA;
}

.container {
    width: 500px;
    height: 800px;
    margin: 100px auto;
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF;
}


/*头发*/

.hair {
    position: relative;
}

.left_hair_one {
    width: 130px;
    height: 100px;
    border-radius: 50%;
    border-top: 8px solid #000;
    position: absolute;
    left: 130px;
    top: 90px;
    transform: rotate(27deg);
}

.left_hair_two {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border-top: 6px solid #000;
    position: absolute;
    left: 150px;
    top: 90px;
    transform: rotate(15deg);
}


/*头发飘动的效果*/

.left_hair_one {
    animation: lefthair 2s ease-in-out infinite;
}

@keyframes lefthair {
    0%,
    25%,
    31%,
    100% {}
    30% {
        transform: rotate(31deg) translate3d(-3px, -1px, 0);
    }
}


/*
 身体
 */

.bodyH {
    border: 4px solid #030303;
    width: 270px;
    height: 450px;
    margin: 100px auto;
    position: relative;
    border-radius: 130px;
    background-color: #F9D946;
    z-index: 2;
    overflow: hidden;
}


/*眼睛*/

.eyes {
    position: relative;
    z-index: 2;
    top: 80px;
}

.eyes .leftEye,
.eyes .rightEye {
    width: 85px;
    height: 85px;
    border: 4px solid #000000;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 40px;
}

.eyes .leftEye {
    left: 130px;
}

.left_blackEye,
.right_blackEye {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    top: 24px;
    left: 22px;
}

.left_white,
.right_white {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 7px;
    left: 17px;
    ;
}

.eyes .leftEye .left_blackEye .left_white {
    top: 4px;
    left: 17px;
}

.eyes .leftEye:after,
.eyes .rightEye:after {
    content: '';
    width: 50px;
    height: 18px;
    background: #000;
    position: absolute;
    left: -56px;
    top: 20px;
    transform: skewX(30deg) rotate(30deg);
}

.eyes .leftEye:after {
    left: 88px;
    top: 25px;
    transform: skewX(-30deg) rotate(-30deg);
}


/*眼睛移动的效果*/

.eyes .leftEye .left_blackEye,
.eyes .rightEye .right_blackEye {
    animation: blackeye 5s ease-in infinite;
}

@keyframes blackeye {
    0%,
    20%,
    50%,
    70%,
    100% {
        transform: translateX(0px);
    }
    30%,
    40% {
        transform: translateX(15px);
    }
    80%,
    90% {
        transform: translateX(-15px);
    }
}

.eyes .leftEye .left_blackEye .left_white,
.eyes .rightEye .right_blackEye .right_white {
    animation: whiteeye 5s ease-in-out infinite;
}

@keyframes whiteeye {
    0%,
    20%,
    50%,
    70%,
    100% {
        transform: translateX(0px);
    }
    30%,
    40% {
        transform: translate3d(3px, 4px, 0);
    }
    80%,
    90% {
        transform: translate3d(-15px, 4px, 0);
    }
}


/*嘴巴*/

.mouse {
    position: relative;
    width: 100%;
    height: 100px;
    top: 175px;
}

.mouse .mouse_shape {
    width: 55px;
    height: 35px;
    border: 5px solid #000;
    border-bottom-left-radius: 30px;
    background: #fff;
    position: absolute;
    top: 30px;
    left: 100px;
    z-index: 3;
    transform: rotate(-35deg);
    animation: mouse 5s ease-in-out infinite;
}

.mouse .mouse_shape:after {
    content: '';
    width: 70px;
    height: 32px;
    border-bottom: 5px solid #000;
    border-radius: 35px 26px 5px 5px;
    background: rgb(249, 217, 70);
    position: absolute;
    top: -16px;
    left: 3px;
    transform: rotate(34deg);
    animation: mouse_mask 5s ease-in-out infinite;
}

@keyframes mouse {
    40%,
    43% {
        width: 45px;
        height: 25px;
        top: 20px;
    }
    0%,
    35%,
    48%,
    100% {
        width: 55px;
        height: 35px;
        top: 30px;
        transform: rotate(-35deg);
    }
}

@keyframes mouse_mask {
    40%,
    43% {
        width: 60.5px;
        top: -19.3px;
        left: 1.5px;
    }
    0%,
    35%,
    48%,
    100% {
        width: 70px;
        top: -16px;
        left: 3px;
        transform: rotate(33deg);
    }
}


/*裤子*/

.bodyH .trousers {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
    border-top: 6px solid #000;
    background: rgb(32, 116, 160);
}

.trousers_top {
    width: 160px;
    height: 60px;
    border: 6px solid #000;
    border-bottom: none;
    border-radius: 0 0 5px 5px;
    background: rgb(32, 116, 160);
    position: absolute;
    bottom: 100px;
    left: 50px;
    z-index: 2;
}

.bodyH .condoleBelt .left,
.bodyH .condoleBelt .right {
    width: 130px;
    height: 16px;
    border: 5px solid #000;
    background: rgb(32, 116, 160);
    position: absolute;
    top: -92px;
    left: -30px;
    z-index: 3;
    transform: rotate(45deg);
}

.bodyH .condoleBelt .left {
    top: -106px;
    left: 154px;
    width: 177px;
    height: 16px;
    transform: rotate(-45deg);
}

.bodyH .condoleBelt .left:after,
.bodyH .condoleBelt .right:after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    top: 4px;
    left: 116px;
}

.bodyH .condoleBelt .left:after {
    left: 5px;
}

.pocket {
    width: 60px;
    height: 45px;
    border: 6px solid #000;
    border-radius: 0px 0px 25px 25px;
    position: absolute;
    bottom: 65px;
    left: 98px;
}

.line_right {
    width: 40px;
    height: 50px;
    border-bottom-left-radius: 100px;
    border-bottom: 6px solid #000;
    border-left: 6px solid #000;
    position: absolute;
    left: 0;
    bottom: 50px;
    transform: rotate(-75deg);
}

.line_left {
    width: 30px;
    height: 60px;
    border-bottom-right-radius: 100px;
    border-bottom: 6px solid #000;
    border-right: 6px solid #000;
    position: absolute;
    right: 0;
    bottom: 50px;
    transform: rotate(75deg);
}

.line_bottom {
    height: 40px;
    border: 3px solid #000;
    border-radius: 3px;
    position: absolute;
    left: 130px;
    bottom: 0;
}


/*双手*/

.hands {
    position: relative;
}

.hands .leftHand,
.hands .rightHand {
    width: 170px;
    height: 109px;
    border: 6px solid #000;
    border-radius: 25px;
    background: rgb(249, 217, 70);
    position: absolute;
    z-index: 1;
    top: -299px;
    left: 76px;
    transform: rotate(39deg);
}

.hands .leftHand {
    left: 232px;
    top: -304px;
    width: 176px;
    height: 120px;
    transform: rotate(-40deg);
}

.hands .leftHand:after,
.hands .rightHand:after {
    content: '';
    width: 6px;
    border: 3px solid #000;
    border-radius: 3px;
    position: absolute;
    left: 25px;
    top: 77px;
    transform: rotate(90deg);
}

.hands .leftHand:after {
    left: 149px;
    top: 78px;
    transform: rotate(-90deg);
}

.hands .rightHand {
    animation: rightHand .8s ease-in-out infinite;
}

@keyframes rightHand {
    0%,
    50%,
    100% {
        transform: rotate(40deg);
    }
    30% {
        transform: rotate(37deg) translateX(1px);
    }
}

.hands .leftHand {
    animation: leftHand .8s ease-in-out infinite;
}

@keyframes leftHand {
    0%,
    50%,
    100% {
        transform: rotate(-40deg);
    }
    80% {
        transform: rotate(-37deg) translateX(-1px);
    }
}


/*双脚H5*/

.feet {
    position: relative;
}

.feet .left_foot,
.feet .right_foot {
    width: 36px;
    height: 50px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 9px;
    background: #000;
    position: absolute;
    top: -110px;
    left: 250px;
    transform-origin: right top;
}

.feet .left_foot {
    border-bottom-right-radius: 9px;
    border-bottom-left-radius: 6px;
    left: 210px;
    transform-origin: left top;
}

.feet .left_foot:after,
.feet .right_foot:after {
    content: '';
    width: 60px;
    height: 35px;
    border-radius: 20px 10px 21px 15px;
    background: #000;
    position: absolute;
    left: 5px;
    top: 15px;
    transform: rotate(5deg);
}

.feet .left_foot:after {
    border-radius: 10px 20px 15px 21px;
    left: -30px;
    transform: rotate(-5deg);
}


/*脚的效果*/

.feet .right_foot {
    animation: rightfoot .8s ease-in-out infinite;
}

@keyframes rightfoot {
    0%,
    50%,
    100% {
        transform: rotate(0deg);
    }
    80% {
        transform: rotate(10deg);
    }
}

.feet .left_foot {
    animation: leftfoot .8s ease-in-out infinite;
}

@keyframes leftfoot {
    0%,
    50%,
    100% {
        transform: rotate(0deg);
    }
    30% {
        transform: rotate(-10deg);
    }
}


/*脚下的阴影*/

.groundShadow {
    width: 400px;
    height: 2px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    top: -60px;
    left: 50px;
}
